package com.turing.post.salesmanage.util;

import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.account.util.BankAssoc;
import com.turing.post.organization.util.BankManage;
import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 燃气汽车卡管理信息业务接口
 * 
 * @author zxp
 * @Apr 9, 2013
 */
@Remote
@Local
public interface GasAutoManagementBusiness {

	/**
	 * 燃气加气卡开卡
	 * 
	 * @param input
	 * @param gamg
	 * @param ba
	 * @param saleOrder
	 * @param cardDetailList
	 * @param paidDetailList
	 * @return
	 * @throws PCPSApplicationException
	 */
	public String[] createGasAutoManagement(PCPSWebInput input,
			GasAutoManagement gamg, BankAssoc ba, SaleOrder saleOrder,
			List<SaleOrderCardDetail> cardDetailList,
			List<SaleOrderPaidDetail> paidDetailList)
			throws PCPSApplicationException;

	/**
	 * 开卡成功后更新双方系统
	 * 
	 * @param input
	 * @param gamg
	 * @param ba
	 * @throws PCPSApplicationException
	 */
	public void updateThirdSystem(PCPSWebInput input, GasAutoManagement gamg,
			BankAssoc ba, BankManage bm) throws PCPSApplicationException;
}
